package com.dingding.special.base.enums;

/**
 * 
 * @ClassName: OrderEnums 
 * @Description: 订单状态枚举
 * @author YHQ
 * @date 2016年8月22日 下午7:04:49
 * @since V2.4.0
 * 
 */
public enum OrderEnums {

	STAY_ASSIGN("待指派",1),
	STAY_ABOARD("待上车",2),
	ALREADY_ABOARD("已上车",3),
	STAY_PAYMENT("待支付",4),
	ALREADY_COMPLETE("已完成",5),
	ALREADY_CANCEL("已取消",6);
	
	private String name;
	private int index;
	
	// 构造方法
	private OrderEnums(String name,int index){
		this.name = name;
		this.index = index;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}
	
}
